package com.zhoukx.bridge;

public class Client {


    public static void main(String[] args) {
         // 获取折叠式手机
        FoldedPhone foldedPhone = new FoldedPhone(new Vivo());
        foldedPhone.open();
        foldedPhone.call();
        foldedPhone.close();

        // 获取折叠式手机
        FoldedPhone foldedPhone2 = new FoldedPhone(new XIaoMi());
        foldedPhone2.open();
        foldedPhone2.call();
        foldedPhone2.close();

        UpRightPhone upRightPhone = new UpRightPhone(new Vivo());
        upRightPhone.open();
        upRightPhone.call();
        upRightPhone.close();


    }
}
